<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <link href="./css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="./预览保存/moin.css" rel="stylesheet" type="text/css" />
    <script src="./jquery/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.12"></script>

</head>
<body>
<!-- 导航栏 -->
<div class="container" id="preview">
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
        <a class="navbar-brand" href="/index.php?s=index/homepage/homepage_list">我的问卷</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>

        <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav mr-auto">
                <li class="nav-item active">
                    <a class="nav-link" href="/index.php?s=index/homepage/homepage_edit">新建问卷 <span class="sr-only">(current)</span></a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#">发布问卷</a>
                </li>

                <li class="nav-item">
                    <a class="nav-link" href="/index.php?s=index/homepage/analyze_list">问卷统计分析</a>
                    <!-- <a class="nav-link disabled" href="#" >问卷统计分析</a> -->
                </li>
            </ul>

            <div class="dropdown">
                <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-expanded="false">
                    admin
                </button>
                <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
                    <a class="dropdown-item edit" href="#" v-on:click >退出登录</a>
                    <!-- <a class="dropdown-item" href="#">Another action</a>
                    <a class="dropdown-item" href="#">Something else here</a> -->
                </div>
            </div>
            <form class="form-inline my-2 my-lg-0">
            </form>
        </div>
    </nav>

    <div class="top_font"></div>
    <div class="left_font">
        <span class="left_font_mess">主题：{{motif_theme}}</span>
    </div>
    <!-- 表格 -->
    <div class="container">
        <table class="table table-bordered">
            <thead>
            <tr>
                <th scope="col" style="text-align: center;">序号</th>
                <th  scope="col" style="text-align: center;">调查问题</th>
                <th scope="col" style="text-align: center;">评分（满分：100）</th>

            </tr>
            </thead>
            <tbody>
            <tr v-for="(time,index) in preview">
                <th  style="text-align: center;vertical-align: middle;">{{index+1}}</th>
                <td style="text-align: center;vertical-align: middle;" >{{time[1]}}（{{time[3]}}~{{time[2]}}分）</td>
                <td style="text-align: center;vertical-align: middle;"><input class="text_font" type="text" v-model="score[index]"></td>

            </tr>

            </tbody>
        </table>
    </div>
    <div class="empty_font"></div>
    <button type="button" class="btn btn-primary btn-lg">编辑</button>
    <button type="button" class="btn btn-primary btn-lg moth_right submit" v-on:click>提交</button>

</div>
<!--  -->

<!-- 框架 -->
<div class="container">
    <div class="row">
        <div class="col">
            <!-- 1 of 3 -->
        </div>
        <div class="col-6">

        </div>
        <div class="col">
            <!-- 3 of 3 -->
        </div>
    </div>

</div>
<!--  -->

<script src="./js/bootstrap.min.js"></script>
<script src="./homepage/js/preview.js"></script>
</body>
</html>
